//系统查询   每页显示数据 12     
function js_method() {
	$('#lists').html("");

	loadDataPage("operation/documentation", "srcoll-documentation", "lists",12, "userName");

}
//构建数据列表
function dataKk(data, me) {
	var result = '';
	var arrLen = data.length;
	if (arrLen > 0) {
		for (var i = 0; i < arrLen; i++) {
			var img='<img src="images/icon-word.png" />' + '</div>';
			if(data[i].type=="pdf"){
				img='<img src="images/icon-pdf.png" />' + '</div>'
			}
			
			result += '<a href="#"  onclick="doAction(\''+data[i].fileName+'\')" >' + '<li id='+data[i].id+'>'
					+ '<div class="documentation-new clearfix">'
					+ '<div class="documentation-newl">'
					+img
					+ '<div class="documentation-newr">'
					+ '<div class="documentation-newra"  >'+data[i].fileSname+'</div>'
					+ '<div class="documentation-newrb">'+data[i].createDate+'</div>'
					+ '</div>' + '</div>'
					+ '<div class="documentation-check"></div>' + '</li>'
					+ '</a>'

		}
		
		
		
	} else {
		me.lock();
		me.noData();
	}
	return result;
}
function doAction(doc) //路径
{
	  var  obj={file:doc};
	  $.post("/Tool/runTime",obj);
}